# def round(number, precision):
#     times = 1
#     for i in range(precision):
#         times *= 10
#
#     return int(number * times + 0.5)/times
import random

import numpy as np

rng = np.random.default_rng()

if __name__ == '__main__':
    print(round(4.555, 2))
    print(round(4.452, 2))
    print(rng.triangular(left=-3, mode=0, right=8, size=3))
    for i in range(10):
        print(random.triangular(1, 2, 3))
